<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="/WEB-INF/tld/c.tld" prefix="c"%>
<%@ taglib uri="/WEB-INF/tld/fmt.tld" prefix="fmt"%>

<table id="listPoliceVehicleList" cellspacing="0" cellpadding="0">
	<thead>
		<tr>
			<td class="rvimscheckbox"><input type="checkbox" onclick="selectAllForList('listPoliceVehicleList')"></td>
			<td>号牌号码</td>
			<td>号牌种类</td>
			<td>车辆种类</td>
			<td>所属单位</td>
			<td>车辆状态</td>
			<td>操作</td>
		</tr>
	</thead>
	<tbody>
		<c:forEach items="${page.results}" var="policeVehicle">
			<tr id="objId_${policeVehicle.id }">
				<td><input type="checkbox" name="policeVehicleIds" value="<c:out value='${policeVehicle.id}'/>"></td>
				<td><c:out value="${policeVehicle.plateCode}"/></td>
				<td><c:out value="${policeVehicle.plateType}"/></td>
				<td><c:out value="${policeVehicle.vehicleType}"/></td>
				<td><c:out value="${policeVehicle.ownedOrganization}"/></td>
				<td><c:out value="${policeVehicle.vehicleStatus}"/></td>
				<td class="rvimsoperation">
				<a href="javascript:ajaxShowPoliceVehicleView('${policeVehicle.id}')" title="详细信息"><span class="ui-icon ui-icon-document"></span></a>
				<a href="javascript:ajaxShowPoliceVehicleEdit('${policeVehicle.id}')" title="修改"><span class="ui-icon ui-icon-pencil"></span></a>
				<a href="javascript:ajaxDeletePoliceVehicleById('${policeVehicle.id}')" title="删除"><span class="ui-icon ui-icon-trash"></span></a>
			</td>
			</tr>
		</c:forEach>
		<tr>
			<td><input type="checkbox" name="policeVehicleIds" value="1"></td>
			<td>测试数据1</td>
			<td>测试数据1</td>
			<td>测试数据1</td>
			<td>测试数据1</td>
			<td>测试数据1</td>
			<td class="rvimsoperation">
					<a href="javascript:ajaxShowPoliceVehicleView('1')" title="详细信息"><span class="ui-icon ui-icon-document"></span></a> 
					<a href="javascript:ajaxShowPoliceVehicleEdit('1')" title="修改"><span class="ui-icon ui-icon-pencil"></span></a> 
					<a href="javascript:ajaxDeletePoliceVehicleById('1')" title="删除"><span class="ui-icon ui-icon-trash"></span></a>
				</td>
		</tr>
		<tr>
			<td><input type="checkbox" name="policeVehicleIds" value="2"></td>
			<td>测试数据2</td>
			<td>测试数据2</td>
			<td>测试数据2</td>
			<td>测试数据2</td>
			<td>测试数据2</td>
				<td class="rvimsoperation">
					<a href="javascript:ajaxShowPoliceVehicleView('2')" title="详细信息"><span class="ui-icon ui-icon-document"></span></a> 
					<a href="javascript:ajaxShowPoliceVehicleEdit('2')" title="修改"><span class="ui-icon ui-icon-pencil"></span></a> 
					<a href="javascript:ajaxDeletePoliceVehicleById('2')" title="删除"><span class="ui-icon ui-icon-trash"></span></a>
				</td>
		</tr>
	</tbody>
</table>
<div id="rvimsPaginationPanel"></div>
<script type="text/javascript">
	setTableCSS("listPoliceVehicleList");
	setPagination("rvimsPaginationPanel","${page.totalPageCount}","${page.pageNum}","${page.pageSize}","${page.totalCount}",ajaxFindPoliceVehicleSearchList);
</script>